package com.mozai.shopping;

import com.mozai.shopping.exception.EnableExceptionHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@ServletComponentScan
@EnableExceptionHandler
@MapperScan("com.mozai.shopping.mapper")
public class MozaiApplication {
    public static void main(String[] args) {
        SpringApplication.run(MozaiApplication.class,args);
    }
}
